package com.ruoyi.personnelMatters.domain;

import java.util.Date;
import java.util.Map;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 人事考核对象 person_assessment
 *
 * @author ruoyi
 * @date 2022-09-16
 */
public class PersonAssessment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 考核id主键 */
    private Long personAssessmentId;

    /** 用户id */
    private Long userId;

    /** 用户姓名 */
    @Excel(name = "姓名")
    private String nickName;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String userIdcardnum;

    /** 考核结果 */
    //考核结果（0未审核，1优秀，2合格，3基本合格，4不合格，5不定等次
    @Excel(name = "考核结果",readConverterExp = "0=未审核,1=优秀,2=合格,3=基本合格,4=不合格,5=不定等次")
    private String assessmentResult;

    /** 考核评语 */
    private String assessmentComment;

    /** 考核年度 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "考核年度", width = 30, dateFormat = "yyyy-MM-dd")
    private Date assessmentTime;

    /** 结果描述 */
    @Excel(name = "结果描述")
    private String assessmentResultInfo;

    /** 备注 */
    private String personRemarks;

    /** 考核人id */
    private Long assessmentUserId;

    /** 考核人姓名 */
    private String assessmentUserName;

    /** 考核人审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date assessmentAgreeTime;

    private String searchTime;

    /** 原薪资等级 */
    private Long oldPayId;

    /** 原薪资等级名称 */
    private String oldPayLevel;

    /** 考核后的薪资等级 */
    private Long newPayId;

    /** 考核后的薪资等级名称 */
    private String newPayLevel;

    public void setPersonAssessmentId(Long personAssessmentId)
    {
        this.personAssessmentId = personAssessmentId;
    }

    public Long getPersonAssessmentId()
    {
        return personAssessmentId;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setNickName(String nickName)
    {
        this.nickName = nickName;
    }

    public String getNickName()
    {
        return nickName;
    }
    public void setUserIdcardnum(String userIdcardnum)
    {
        this.userIdcardnum = userIdcardnum;
    }

    public String getUserIdcardnum()
    {
        return userIdcardnum;
    }
    public void setAssessmentResult(String assessmentResult)
    {
        this.assessmentResult = assessmentResult;
    }

    public String getAssessmentResult()
    {
        return assessmentResult;
    }
    public void setAssessmentComment(String assessmentComment)
    {
        this.assessmentComment = assessmentComment;
    }

    public String getAssessmentComment()
    {
        return assessmentComment;
    }
    public void setAssessmentTime(Date assessmentTime)
    {
        this.assessmentTime = assessmentTime;
    }

    public Date getAssessmentTime()
    {
        return assessmentTime;
    }
    public void setPersonRemarks(String personRemarks)
    {
        this.personRemarks = personRemarks;
    }

    public String getPersonRemarks()
    {
        return personRemarks;
    }

    public String getAssessmentResultInfo() {
        return assessmentResultInfo;
    }

    public void setAssessmentResultInfo(String assessmentResultInfo) {
        this.assessmentResultInfo = assessmentResultInfo;
    }

    public Long getAssessmentUserId() {
        return assessmentUserId;
    }

    public void setAssessmentUserId(Long assessmentUserId) {
        this.assessmentUserId = assessmentUserId;
    }

    public String getAssessmentUserName() {
        return assessmentUserName;
    }

    public void setAssessmentUserName(String assessmentUserName) {
        this.assessmentUserName = assessmentUserName;
    }

    public Date getAssessmentAgreeTime() {
        return assessmentAgreeTime;
    }

    public void setAssessmentAgreeTime(Date assessmentAgreeTime) {
        this.assessmentAgreeTime = assessmentAgreeTime;
    }

    public Long getOldPayId() {
        return oldPayId;
    }

    public void setOldPayId(Long oldPayId) {
        this.oldPayId = oldPayId;
    }

    public Long getNewPayId() {
        return newPayId;
    }

    public void setNewPayId(Long newPayId) {
        this.newPayId = newPayId;
    }

    public String getOldPayLevel() {
        return oldPayLevel;
    }

    public void setOldPayLevel(String oldPayLevel) {
        this.oldPayLevel = oldPayLevel;
    }

    public String getNewPayLevel() {
        return newPayLevel;
    }

    public void setNewPayLevel(String newPayLevel) {
        this.newPayLevel = newPayLevel;
    }

    public String getSearchTime() {
        return searchTime;
    }

    public void setSearchTime(String searchTime) {
        this.searchTime = searchTime;
    }

    @Override
    public String toString() {
        return "PersonAssessment{" +
                "personAssessmentId=" + personAssessmentId +
                ", userId=" + userId +
                ", nickName='" + nickName + '\'' +
                ", userIdcardnum='" + userIdcardnum + '\'' +
                ", assessmentResult='" + assessmentResult + '\'' +
                ", assessmentComment='" + assessmentComment + '\'' +
                ", assessmentTime=" + assessmentTime +
                ", assessmentResultInfo='" + assessmentResultInfo + '\'' +
                ", personRemarks='" + personRemarks + '\'' +
                ", assessmentUserId=" + assessmentUserId +
                ", assessmentUserName='" + assessmentUserName + '\'' +
                ", assessmentAgreeTime=" + assessmentAgreeTime +
                ", searchTime='" + searchTime + '\'' +
                ", oldPayId=" + oldPayId +
                ", oldPayLevel='" + oldPayLevel + '\'' +
                ", newPayId=" + newPayId +
                ", newPayLevel='" + newPayLevel + '\'' +
                '}';
    }
}
